package com.vhall.component.service.vote;

/**
 * @author longzhen.gong
 * @date 2021/7/6 17:51
 */
public interface VoteConstants {
    /**
     * RVLK先过期 QUESTION后过期 可减少判断流程; QUESTION先过期无影响;
     */
    Integer VOTE_QUESTION_EXPIRE_TIME = 61;
    Integer VOTE_RVLK_EXPIRE_TIME = 60;

    interface RoomVoteLkBind {
        //绑定
        int BIND = 1;
        //没有绑定
        int UNBIND = 0;

        //已经结束
        int FINISH = 1;
        //未结束
        int UNFINISH = 0;

        //已经发布
        int RELEASE = 1;
        //未发布
        int UNRELEASE = 0;

        //是否发布 1-是 0-否
        int PUBLISH_YES = 1;
        //是否发布 1-是 0-否
        int PUBLISH_NO = 0;

        //是否公开投票1 是
        int PUBLIC_YES = 1;

    }

    String REG_IDS = "^(\\d{1,19})(,(\\d{1,19}))*$";


}
